package com.ssyt.store.sys.dao;

import java.util.List;

import com.ssyt.store.sys.entity.StoreReceiveAddress;

public interface StoreReceiveAddressDao {
	List<StoreReceiveAddress> getAddressByUserId(String userId);
	StoreReceiveAddress getAddressById(String Id);
	StoreReceiveAddress getUserDefualtAddress(String userId);
	void addStoreReceiveAddress(StoreReceiveAddress address);
	void deleteStoreReceiveAddress(String id);
	void saveOrUpdateAddress(StoreReceiveAddress storeReceiveAddress);
	void useAddressToDefault(String Id,String userId);
}
